package net.JwtDemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import net.JwtDemo.dto.JsonResult;

@RestController
public class HelloController {

	@GetMapping("/hello")
	public JsonResult hello() {
		JsonResult result = new JsonResult();
		result.setData("hello");
		return result;
	}
}
